#include <Python.h>
#include <boost/python.hpp>
#include <iostream>
#include <ogre/Ogre.h>
#include <daisy/PythonManager.hpp>
using namespace boost::python;



int main(int argc, char **argv)
{
	// Initialize the interpreter
	
	DAISY::PythonManager::getInstance().init();


	try
	{
		int i = DAISY::PythonManager::getInstance().callmethod<int>("Program","add",1,10);
		Ogre::Vector3 v(1,1,1);
		v = DAISY::PythonManager::getInstance().callClassMethod<Ogre::Vector3,Ogre::Vector3>("test","doWithVector3",boost::ref(v));
	}
	catch (...)
	{
		PyErr_Print();
		PyErr_Clear();
	}

	return 0;
}